package cn.buddha.jec.mybatis.config;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @ClassName ThDataSourceConfig
 * @Author 友野浩二
 * @Description 数据源配置
 * @Version 1.0
 */
@Getter
@AllArgsConstructor
public enum TongDataSourceConfig {

    DB_URL("jdbc:mysql://127.0.0.1:3306/tong_vertical?" +
            "useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=GMT%2B8",
            "JDBC连接"),
    DB_USER_NAME("tong_vertical", "数据库用户名"),
    DB_PASSWORD("tong_vertical123", "数据库密码"),
    DB_DRIVER_NAME("com.mysql.cj.jdbc.Driver", "数据库驱动");

    private final String jdbcConf;
    private final String jdbcConfDesc;
}
